#import <UIKit/UIKit.h>
#import <MapKit/MapKit.h>

#import "framework/FWDetailListView.h"

@class FWApplication;


@interface PICalPreview : NSObject <FWDetailListViewDelegate, MKAnnotation, MKMapViewDelegate>
{
    FWApplication* applicationWeakRef;
    UISegmentedControl* mapTypeWeakRef;
    MKMapView* mapViewWeakRef;
    NSString* mapTitleWeakRef;
    NSString* mapSubTitleWeakRef;
    BOOL hasShownLocationMessage;
    CLLocationCoordinate2D coordinate;
    
    BOOL showingLocation;
    BOOL shownLocation;
}

@property (retain) NSString* detailPageID;
@property (nonatomic, readonly) CLLocationCoordinate2D coordinate;


- (void)mapTypeClicked:(id)sender;
- (NSString*)title;

@end
